package subscriber

import (
	"context"
	"github.com/micro/go-micro/util/log"

	log1 "dh.com/store/srv/log/proto/log"
)

type Log struct{}

func (e *Log) Handle(ctx context.Context, msg *log1.Message) error {
	log.Log("Handler Received message: ", msg.Say)
	return nil
}

func Handler(ctx context.Context, msg *log1.Message) error {
	log.Log("Function Received message: ", msg.Say)
	return nil
}
